Repository navigation
fix(test): ограничить Angular deps.inline средой Windows - #389
Merged
Merged
Conversation
10 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что изменено
В
vitest.config.tsworkaroundtest.server.deps.inlineприменяется только приprocess.platform === "win32". Linux использует обычную конфигурацию без этого блока.Зачем
Глобальный inline после #387 вызывал 6 OOM в Linux vmThreads. При его удалении тот же feature code и все новые тесты прошли: 400/400 files, 1934 tests, 0 unhandled errors. На Windows без workaround воспроизводится NG0401 в общем TestBed setup на Node 20/24.
Реализация
Чистая ветка от
origin/dev(cda836a2), один commit27901cd9, один изменённый файл. Содержимоеvitest.config.tsидентично проверенномуa4abf18c. Штатный dev workflow сохранён сnpm run test:ci; временные feature triggers, forks/maxWorkers и deploy guard из диагностической ветки не переносились.API
Не менялся.
UI
Runtime и case feature не менялись.
Permissions
Не менялись.
Проверки
vitest.config.ts;git diff --checkPASS. Tests, exclusions, coverage, dependencies и heap settings не изменены.27901cd96f50d8efe73a5b68fd17e100162f5d48: 400/400 files, 1934 tests PASS, 0 unhandled, 0 OOM, 114.02 s. SHA подтверждён checkout log.npm run format:check,npm run lint:ts,npm run test:ci,npm run build:pr— PASS. Deploy skipped.Acceptance criteria
Не проверено
В репозитории нет CI trigger для PR. Указанный успешный run создан в существующей диагностической ветке, но actions/checkout проверенно загрузил точный SHA этого PR и выполнил штатные npm-команды. Это не автоматический PR check; временная конфигурация запуска не входит в PR. macOS отдельно не проверялся; browser QA неприменим к этому test-config fix.
Риски / migration
Migration не требуется. Глобальная область workaround сужена до подтверждённой Windows-среды. Merge и deploy выполняет пользователь; диагностический запуск пропускает deploy.